/*
 * TMap Designer - A Thematic Map design software
 * Copyright (C) 2006-2008 World Health Organization
 * http://www.who.int
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 */
package who.tmap.bo.impl;

import who.tmap.bo.ThematicMap;
import who.tmap.bo.ThematicMapLayer;

public class ThematicMapLayerImpl extends BaseBizObjectImpl implements ThematicMapLayer {

	private ThematicMap thematicMap;
	private String name;
	private boolean visible =true;
	private boolean baseMapVisible =true;
	private boolean cdVisible =true;
	private boolean annotationsVisible =true;
	
	ThematicMapLayerImpl() {
		super();
	}
	
	public ThematicMap getThematicMap() {
		return thematicMap;
	}
	
	public void setThematicMap(ThematicMap thematicMap) {
		this.thematicMap = thematicMap;
	}	
	
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public boolean isVisible() {
		return visible;
	}
	
	public void setVisible(boolean visible) {
		this.visible = visible;
	}
	
	public boolean isBaseMapVisible() {
		return baseMapVisible;
	}
	
	public void setBaseMapVisible(boolean baseMapVisible) {
		this.baseMapVisible = baseMapVisible;
	}
	
	public boolean isCdVisible() {
		return cdVisible;
	}
	
	public void setCdVisible(boolean cdVisible) {
		this.cdVisible = cdVisible;
	}
	
	public boolean isAnnotationsVisible() {
		return annotationsVisible;
	}
	
	public void setAnnotationsVisible(boolean annotationsVisible) {
		this.annotationsVisible = annotationsVisible;
	}
	
}

